package jj.fly.activiti.leavebill.dao.mybatis;

import java.util.List;
import jj.fly.activiti.leavebill.domain.ActIdMembershipExample;
import jj.fly.activiti.leavebill.domain.ActIdMembershipKey;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ActIdMembershipMapper {
    int countByExample(ActIdMembershipExample example);

    int deleteByExample(ActIdMembershipExample example);

    int deleteByPrimaryKey(ActIdMembershipKey key);

    int insert(ActIdMembershipKey record);

    int insertSelective(ActIdMembershipKey record);

    List<ActIdMembershipKey> selectByExampleWithRowbounds(ActIdMembershipExample example, RowBounds rowBounds);

    List<ActIdMembershipKey> selectByExample(ActIdMembershipExample example);

    int updateByExampleSelective(@Param("record") ActIdMembershipKey record, @Param("example") ActIdMembershipExample example);

    int updateByExample(@Param("record") ActIdMembershipKey record, @Param("example") ActIdMembershipExample example);
}